using System;
using System.ComponentModel.DataAnnotations;

namespace WRSManagementSystem.DomainModel.Entities
{
    [MetadataType(typeof (ProjectMetadata))]
    public partial class Project
    {
        public void AddResource(GlobalResource res)
        {
            throw new NotImplementedException();
        }
    }

    internal class ProjectMetadata
    {
        [StringLength(40), Required]
        public virtual string Name { get; set; }
    }
}